import request from '@/utils/request'

// 查询福利费计提列表
export function listFlfjt(query) {
  return request({
    url: '/basebill/flfjt/list',
    method: 'get',
    params: query
  })
}

// 查询福利费计提详细
export function getFlfjt(fid) {
  return request({
    url: '/basebill/flfjt/' + fid,
    method: 'get'
  })
}

// 新增福利费计提
export function addFlfjt(data) {
  return request({
    url: '/basebill/flfjt',
    method: 'post',
    data: data
  })
}

// 修改福利费计提
export function updateFlfjt(data) {
  return request({
    url: '/basebill/flfjt',
    method: 'put',
    data: data
  })
}

// 删除福利费计提
export function delFlfjt(fid) {
  return request({
    url: '/basebill/flfjt/' + fid,
    method: 'delete'
  })
}


// 调用eas接口
export function importFlfjt(fids) {
  return request({
    url: '/basebill/flfjt/importFlfjt/' + fids,
    method: 'get'
  })
}
